package com.beichuan_travel.service;

import com.beichuan_travel.model.dto.RestaurantDTO;
import com.beichuan_travel.model.vo.FoodVO;
import com.beichuan_travel.model.vo.RestaurantVO;

import java.util.List;

public interface RestaurantService {

    RestaurantVO queryByName(String name);

    List<RestaurantVO> fuzzyQueryName(String name);

    List<RestaurantVO> queryByPrice(Integer lower, Integer upper);

    List<RestaurantVO> queryByStar(Integer star);

    List<RestaurantVO> queryAllDescByStar(Integer type);

    List<RestaurantVO> queryAllASCByPrice(Integer type);

    List<RestaurantVO> queryAllByName(Integer type);

    int addRestaurant(RestaurantDTO restaurantDTO);

    List<FoodVO> queryAllFood(Integer restaurantId);
}
